package com.ljx.itbbs.server.mall.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-29  22:42
 */
@Data
public class OrderSubmitEvent extends ApplicationEvent {

    private Long orderId;

    private Long couponId;

    public OrderSubmitEvent(Object source, Long orderId, Long couponId) {
        super(source);
        this.orderId = orderId;
        this.couponId = couponId;
    }
}
